home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
system
/
bywhen10.zip
/
BYWHEN.DOC
next >
Wrap
Text File
|
1995-01-09
|
9KB
|
247 lines
W.S.B. COMMUNICATIONS
∙∙∙ ∙∙∙ ∙∙∙ ──────────────────────────────────────────────────────────────>
BYWHEN (c) 1994 William Burlew
Unregistered Version
All Rights Reserved
[i].
────────────────────────────────────────────────────────────────────────────
CONTENTS
Copyright Notice ..................................................... [ 1]
Program Description(s) ............................................... [ 2]
Examples ............................................................. [ 3]
Warnings ............................................................. [ 4]
Registration ......................................................... [ 5]
E-Mail Addresses ..................................................... [ 6]
Thanks ............................................................... [ 6]
* * * * * * * * * * * * * * * * *
[1].
────────────────────────────────────────────────────────────────────────────
{- Copyright Notice -}
The program, BYWHEN.EXE is protected by the United States copyright law.
All rights are reserved.
{- Disclaimer -}
For the disclaimer of warranty for the above mentioned programs, they
are distributed as is. William Burlew, (hereafter referred to as
'the author') disclaims all warranties, expressed or implied, including
without limitation, any warranties of merchantability and/or fitness for a
particular purpose.
The author shall not be liable for any damages, whether direct, indirect,
special, or consequential arising from a failure of these programs to
operate in the manner desired by the user. The author shall not be liable
for any damage to data or property which may be caused directly or
indirectly by use of these program(s).
{- Acknowledgements -}
■ IBM is a registered trademark of International Business Machines.
■ MS-DOS is a registered trademark of Microsoft Corporation.
■ Novell is a registered trademark of Novell, Inc.
■ CompuServe is a registered trademark of CompuServe Information Services,
Inc.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
[2].
────────────────────────────────────────────────────────────────────────────
{- DESCRIPTION -}
BYWHEN is a DOS based program and is not a TSR. Program requires DOS
v3.0 or greater, IBM compatible 286 CPU or higher.
BYWHEN was originally written to execute our sort programs on dedicated
machines at the research institute where I manage their Novell network.
My director wanted a simple program to execute programs via command line
options and did not want another TSR on our system. Yes, we do have the
luxury of multiple dedicated machines which some MIS departments may
not. Thus, BYWHEN may not be suitable for them. Future updates can be
coded as a TSR if there is a demand.
A program to execute other programs at a given date and time. Parameters
are passed from the command line. BYWHEN will execute files with -
.bat, .com, .exe - file extensions on the date and time you pass to it.
Options needed for your program that you pass to BYWHEN are also accepted.
BYWHEN has been tested on Novell v3.11 systems and under MS Windows v3.1.
[3].
────────────────────────────────────────────────────────────────────────────
{- HELP -}
Usage:
bywhen [d:\]filename.ext /t:hh:mm:ss [options]
where the following options are
d:\ program's valid path
filename.ext program to execute, i.e., - .com .bat .exe -
extension must be given.
/p:opts arguments to pass to your executable program.
/d:mm/dd/yyyy date to execute program on. assumes current system date
if not specified.
/t:hh:mm:ss time to execute program on in military format.
/m:owner name of machine's owner for blinking warning message
may be up to 20 characters long.
automatically sets the [/w] option.
/w turns on default blinking warning message if /m:
is not specified.
Do not merge any options: i.e., "/p:??/d:mm/dd/yyyy" is illegal.
{- EXAMPLES -}
Only two parameters are required to execute BYWHEN, filename & time.
ex1. bywhen filename.ext /t:08:10:00
executes filename.ext at 8:10am on the current system date with no
warning message displayed.
ex2. bywhen c:\bc31\bin\make.exe /p:-fmakefile /t:23:00:00 /d:10/24/1994
executes make to compile makefile at 11:00pm on 10/24/1994
ex3. bywhen filename.ext /t:08:10:00 /w
executes filename.ext at 8:10am on the current system date with the
default blinking warning message displayed, i.e.,
"Please Do Not Touch This Machine. Check With Owner First!."
ex4. bywhen filename.ext /p:-a-b /t:08:10:00 /d:10/24/1994 /m:Bill
executes filename.ext with filename.ext options -a-b at 8:10am on date
10/24/1994 with the blinking warning message displayed, i.e.,
"Please Do Not Touch This Machine. Check With Bill First!."
BYWHEN will search your path for the first occurrence of the file name
you pass to it. If it cannot be found then an error message is displayed
"file not found". If this error is returned you should provide the
complete valid path with file name.
If you have more than one file with the same name on your system you
should enter the complete path and file name.
To cancel BYWHEN after it sets itself up press <ctrl-end>. If you have
remapped this key combination you will need to reset it in order to
cancel BYWHEN. There is a 1.5 second delay after pressing <ctrl-end>
in order for BYWHEN to perform some internal cleanup duties.
[4].
────────────────────────────────────────────────────────────────────────────
{- WARNINGS -}
Do NOT attempt to execute a TSR with BYWHEN. Due to the memory
allocation scheme used, BYWHEN, in all likelihood, will return an error
message if it attempts to load a TSR.
To limit some code, there is no check to see if the date you pass to
BYWHEN is in fact less than the current system date.
Thus BYWHEN will sit there for an indefinite amount of time never to be
able to execute your program.
{- INTRINSIC DOS COMMANDS -}
BYWHEN will NOT execute intrinsic DOS commands if passed to it.
BYWHEN searches your path to validate that the passed program
name exists so an error is returned if an intrinsic command is
passed.
Intrinsic DOS commands should be coded in a batch file and the
batch file name passed to BYWHEN along with other valid options.
See BYWHEN1.BAT & BYWHEN2.BAT for some examples.
[5].
────────────────────────────────────────────────────────────────────────────
{- COMMERCIALWARE/REGISTRATION -}
The only difference between the unregistered & registered version is that
with the registered version the BYWHEN info screen randomly dances around
the screen. This was coded for when the actual execution of your program
may not be until days/weeks have passed.
Please see the REGISTRATION.DOC.
[6].
────────────────────────────────────────────────────────────────────────────
Update development notes
-None- bv1.00 10/24/94 {wsb}
Inline time slice coded bv1.01 11/05/94 {wsb}
Trashing of cursor on return from child bv1.01 11/08/94 {wsb}
Loop logic (Doskey & Idle) bv1.01 11/09/94 {wsb}
Suggestions welcomed. EMail address...
Internet
73053.3202@compuserve.com
CIS
73053,3202
----------
Extended Thanks:
PythagorasPLJ
@UCBerkeley for original idea...polling suggestions and
beta testing.
Berkeley Integration Group (B.I.G)
beta testing and their expert advice on Novell.
Kim K.
advice on time slice inline code while in MS Windows.
Kevin Lee
@University of Nevada-Reno Center for Applied Research